package cn.signUpSystem.action;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import cn.signUpSystem.pojo.Position;
import cn.signUpSystem.util.PropUtil;

@Controller
@Scope("prototype")
public class PositionAction extends BaseAction<Position> {

	/**
	 * 获取图片id
	 * 
	 * @return 职位详情页面
	 */
	public String getPicId() {
		Integer id = (Integer) request.get("id");
		String color = PropUtil.parsePropFile("color.properties", id);
		request.put("id", id);
		request.put("color", color);
		return "getPicId";
	}

}
